/* pages/order-detail/order-detail.wxss */

page {
    background: #f4f4f4;
}

.order-detail {
    margin-bottom: 120 rpx;
    padding-bottom: 160 rpx;
}

.order-detail .delivery-addr {
    padding: 20 rpx 30 rpx;
    background: #fff;
}

.order-detail .delivery-addr .user-info {
    line-height: 48 rpx;
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.order-detail .delivery-addr .user-info .item {
    font-size: 28 rpx;
    margin-right: 30 rpx;
    vertical-align: top;
    display: inline-block;
}

.order-detail .delivery-addr .addr {
    font-size: 26 rpx;
    line-height: 36 rpx;
    color: #999;
    word-wrap: break-word;
}

/* 商品列表 */

.prod-item {
    background-color: #fff;
    margin-top: 15 rpx;
    font-size: 28 rpx;
}

.prod-item .item-cont .prod-pic image {
    width: 180 rpx;
    height: 180 rpx;
}

.prod-item .item-cont {
    display: flex;
    align-items: center;
    padding: 30 rpx;
    border-top: 2 rpx solid #f1f1f1;
}

.prod-item .item-cont .prod-pic {
    font-size: 0;
    display: block;
    width: 160 rpx;
    height: 160 rpx;
    overflow: hidden;
    background: #fff;
    margin-right: 16 rpx;
}

.prod-item .item-cont .prod-pic image {
    width: 100%;
    height: 100%;
}

.prod-item .item-cont .prod-info {
    margin-left: 10 rpx;
    font-size: 28 rpx;
    width: 100%;
    position: relative;
    height: 80px;
    -webkit-flex: 1;
    -ms-flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
}

.prod-item .item-cont .prod-info .prodname {
    font-size: 28 rpx;
    line-height: 40 rpx;
    max-height: 86 rpx;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
}

.prod-item .item-cont .prod-info .prod-info-cont {
    position: relative;
    color: #999;
    margin-top: 10 rpx;
    font-size: 24 rpx;
}

.prod-item .item-cont .prod-info .prod-info-cont .info-item {
    color: #999;
    height: 28 rpx;
    margin-top: 10 rpx;
    font-size: 24 rpx;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
    width: 70%;
}

.prod-item .item-cont .prod-info .prod-info-cont .number {
    float: left;
    margin-right: 20 rpx;
}

.prod-item .price-nums {
    margin-top: 30 rpx;
}

.prod-item .price-nums .prodprice {
    color: #333;
    height: 50 rpx;
    line-height: 50 rpx;
    font-size: 24 rpx;
    float: left;
}

.prod-item .price-nums .btn-box {
    float: right;
    text-align: right;
}

.prod-item .price-nums .btn-box .btn {
    padding: 6 rpx 30 rpx;
    line-height: 36 rpx;
    margin-left: 20 rpx;
    font-size: 24 rpx;
    display: inline-block;
    border: 2 rpx solid #e4e4e4;
    border-radius: 50 rpx;
}

/*
订单信息 */

.order-msg {
    background: #fff;
    margin-top: 15 rpx;
    font-size: 28 rpx;
}

.order-msg .msg-item {
    padding: 20 rpx;
    border-top: 2 rpx solid #f1f1f1;
}

.order-msg .msg-item:first-child {
    border: 0;
}

.order-msg .msg-item .item {
    display: flex;
    padding: 10 rpx 0;
    align-items: center;
    box-sizing: border-box;
}

.order-msg .msg-item .item.payment {
    border-top: 2 rpx solid #f1f1f1;
    color: #eb2444;
    padding-top: 30 rpx;
}

.order-msg .msg-item .item .item-tit {
    min-width: 140 rpx;
    color: #999;
    line-height: 48 rpx;
}

.order-msg .msg-item .item .item-txt {
    flex: 1;
    line-height: 48 rpx;
}

.order-msg .msg-item .item .item-txt.remarks {
    max-width: 600 rpx;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-msg .msg-item .item .copy-btn {
    display: block;
    margin-left: 20 rpx;
    border: 2 rpx solid #e4e4e4;
    padding: 6 rpx 24 rpx;
    border-radius: 50 rpx;
    font-size: 24 rpx;
    line-height: 28 rpx;
}

.order-msg .msg-item .item .item-txt.price {
    text-align: right;
}

/* 底部栏 */

.order-detail-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 750 rpx;
    background: #fff;
    margin: auto;
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 22 rpx 0;
    font-size: 26 rpx;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.order-detail-footer .dele-order {
    margin-left: 20 rpx;
    line-height: 60 rpx;
    display: block;
    margin-right: 20 rpx;
    width: 150 rpx;
    text-align: center;
}

.order-detail-footer .footer-box {
    flex: 1;
    text-align: right;
    line-height: 60 rpx;
}

.order-detail-footer .footer-box .buy-again {
    font-size: 26 rpx;
    color: #fff;
    background: #eb2444;
    border-radius: 50 rpx;
    padding: 10 rpx 20 rpx;
    margin-right: 20 rpx;
}

.order-detail-footer .footer-box .apply-service {
    font-size: 26 rpx;
    border-radius: 50 rpx;
    padding: 10 rpx 20 rpx;
    border: 1px solid #e4e4e4;
    margin-right: 20 rpx;
}

.clearfix:after {
    content: " ";
    display: table;
    clear: both;
}

/* 根据状态显示不同的颜色 */

.order-state {
    height: 70 rpx;
    line-height: 70 rpx;
    text-align: right;
    margin-right: 20 rpx;
}

.order-state .order-sts {
    color: #eb2444;
    font-size: 28 rpx;
}

.order-state .order-sts.gray {
    color: #999;
    height: 32 rpx;
    line-height: 32 rpx;
}

.order-state .order-sts.normal {
    color: #333;
}
